<?php
$this->breadcrumbs=array(
	'Advertises'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List Advertise', 'url'=>array('index')),
	array('label'=>'Create Advertise', 'url'=>array('create')),
	array('label'=>'Update Advertise', 'url'=>array('update', 'id'=>$model->idad)),
	array('label'=>'Delete Advertise', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->idad),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Advertise', 'url'=>array('admin')),
);
?>

<h1>View Advertise #<?php echo $model->idad; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'idad',
		'name',
		'urlresource',
		'location',
		array(               // related city displayed as a link
            'label'=>'Location test image',
            'type'=>'raw',
            'value'=>CHtml::link(CHtml::encode($model->urlresource),
                                 $model->urlresource),
        ),

	),
)); ?>
